if(!dojo._hasResource["pibp.pibp"]) {
	dojo._hasResource["pibp.pibp"] = true;
	dojo.provide("pibp.pibp");
	dojo.declare("pibp.pibp", null, {
	constructor: function() {},

	initialize: function() {
		this.content = dijit.byId("bodysheet");
		var size = dojo.marginBox(this.content.domNode);
		x = Math.floor((size.w - 102)/2);
		y = Math.floor((size.h - 34)/2);
		this.content.loadingMessage = '<div class=\'loader-load\' style=\'left: '+x+'px; top: '+y+ 'px;\'><div>Cargando...</div></div>';
		this.filtro(dojo.byId("option11"), "frmSnip03.html");
	},

	filtro: function(node, url) {
		dijit.byId('bodysheet').setHref(url);
	},

	/**
	 * startup: Muestra la Pagina.
	 */
	startup: function(){
		dojo.parser.parse();
		setTimeout(dojo.hitch(this, function(){
			this.hideloader();
		}), 250);
	},
	
	/**
	 * hideloader: Oculta mensaje de carga.
	 */
	hideloader: function(){
		this.initialize();
		var loader = dojo.byId('loader');
		var _this = this;
		dojo.fadeOut({
			node: loader,
			duration: 500,
			onEnd: function(){
				dojo.style("loader", "display", "none");
			}
		}).play();
	},

	});
}